/**
 * 
 */
package com.locky.ws;

import java.util.Collection;
import java.util.ArrayList;

import javax.persistence.*;


/** 
 * @author ambroise
 */
@Entity
@PrimaryKeyJoinColumn(name="SUPER_USER_ID")
public class SuperUser extends Personne {

	/** 
	 * @uml.property name="acces"
	 * @uml.associationEnd multiplicity="(0 -1)" ordering="true" inverse="superUser:com.locky.ws.Acces"
	 */
	@OneToMany(mappedBy="superUser",targetEntity=Acces.class)
	private ArrayList acces = new ArrayList<Acces>();

	/** 
	 * Getter of the property <tt>acces</tt>
	 * @return  Returns the acces.
	 * @uml.property  name="acces"
	 */
	public ArrayList getAcces() {
		return acces;
	}

	/** 
	 * Setter of the property <tt>acces</tt>
	 * @param acces  The acces to set.
	 * @uml.property  name="acces"
	 */
	public void setAcces(ArrayList acces) {
		this.acces = acces;
	}

}
